package com.eight.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.pojo.SysOperLog;
import com.eight.vo.ChartVo;
import com.eight.vo.OperateLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OperateLogMapper extends BaseMapper<SysOperLog> {
    Page<SysOperLog> selectAllOperatelog(Page<SysOperLog> page, @Param("operateLogVo") OperateLogVo operateLogVo);

    List<ChartVo> selectOperateLogByName(String year);

    List<ChartVo> selectOperateLogByAddress(String year);
}
